package com.hy.admin.domain.dto;

import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.hy.admin.entity.MemberEntity;
@JsonIgnoreProperties(ignoreUnknown = true)
public class WebUserDto {

	private String username;
    private String password;
    private List<?> authorities = new ArrayList<>();

	protected MemberEntity memberEntity;
	
	private boolean enabled;
	
	private boolean accountNonExpired;
	private boolean accountNonLocked;
	private boolean credentialsNonExpired;
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	public List<?> getAuthorities() {
		return authorities;
	}
	public void setAuthorities(List<?> authorities) {
		this.authorities = authorities;
	}
	public MemberEntity getMemberEntity() {
		return memberEntity;
	}
	public void setMemberEntity(MemberEntity memberEntity) {
		this.memberEntity = memberEntity;
	}
	public boolean isEnabled() {
		return enabled;
	}
	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}
	public boolean isAccountNonExpired() {
		return accountNonExpired;
	}
	public void setAccountNonExpired(boolean accountNonExpired) {
		this.accountNonExpired = accountNonExpired;
	}
	public boolean isAccountNonLocked() {
		return accountNonLocked;
	}
	public void setAccountNonLocked(boolean accountNonLocked) {
		this.accountNonLocked = accountNonLocked;
	}
	public boolean isCredentialsNonExpired() {
		return credentialsNonExpired;
	}
	public void setCredentialsNonExpired(boolean credentialsNonExpired) {
		this.credentialsNonExpired = credentialsNonExpired;
	}
	
}
